package com.villaday.idf.model3;

public class GuestPostEntity {


    /**
     * id : string,ID， 参数格式:  更新信息时需写入
     * action : integer,操作，0 新增/修改  2 删除
     * actionType : integer,操作类型，action=0时 ：0 完整版校验(需填至少一个证件)，1 简单版校验(中英文名任选其一即可)
     * nameCn : string,添加旅客详细信息时 明确指定是中文名 写入
     * lastNameEn : string,英文 名字
     * firstNameEn : string,英文 姓氏
     * mobile : string,手机号
     * email : string,邮箱
     * idcard : string,身份证号
     * passport : string,护照号
     * preferred : string,是否为默认常用旅客信息 true :是默认，false :不是默认
     */

    private String id;
    private int action;
    private int actionType;
    private String nameCn;
    private String givenNameEn;
    private String familyNameEn;
    private String mobile;
    private String email;
    private String idcard;
    private String passport;
    private boolean preferred;
    private boolean allowIdentityNumber;
    private boolean isAllowCn;

    public boolean isAllowCn() {
        return isAllowCn;
    }

    public void setAllowCn(boolean allowCn) {
        isAllowCn = allowCn;
    }

    public boolean isAllowIdentityNumber() {
        return allowIdentityNumber;
    }

    public void setAllowIdentityNumber(boolean allowIdentityNumber) {
        this.allowIdentityNumber = allowIdentityNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getActionType() {
        return actionType;
    }

    public void setActionType(int actionType) {
        this.actionType = actionType;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getGivenNameEn() {
        return givenNameEn;
    }

    public void setGivenNameEn(String givenNameEn) {
        this.givenNameEn = givenNameEn;
    }

    public String getFamilyNameEn() {
        return familyNameEn;
    }

    public void setFamilyNameEn(String familyNameEn) {
        this.familyNameEn = familyNameEn;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public boolean isPreferred() {
        return preferred;
    }

    public void setPreferred(boolean preferred) {
        this.preferred = preferred;
    }
}
